//
//  XHHospitalDTCell.m
//  HarmonizePub
//
//  Created by Haven on 2016/11/4.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import "XHHospitalDTCell.h"
#import "HealthyInfoList.h"

@interface XHHospitalDTCell()
@property (weak, nonatomic) IBOutlet UILabel *titleLable;

@property (weak, nonatomic) IBOutlet UILabel *doctorLable;
@property (weak, nonatomic) IBOutlet UILabel *createDateLable;
@end

@implementation XHHospitalDTCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

+ (NSString *)registerName {
    return @"XHHospitalDTCell";
}
- (void)setHealthyInfoList:(HealthyInfoList *)healthyInfoList
{
    _healthyInfoList = healthyInfoList;
    
    self.titleLable.text = healthyInfoList.title;
    
    self.doctorLable.text = healthyInfoList.author;
    
    self.createDateLable.text = healthyInfoList.createDate;

}
@end
